package com.arrcen.medicen.core.match.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("保存配置")
public class DtoSyncTable  implements Serializable {
    /**
     * 说明
     */
    @ApiModelProperty(value = "说明",example = "说明")
    public String name;

    /**
     * 临时库表名
     */
    @ApiModelProperty(value = "临时库表名",example = "临时库表名")
    public String tmpTableName;

    /**
     * 中心库表名
     */
    @ApiModelProperty(value = "中心库表名",example = "中心库表名")
    public String cenTableName;

    /**
     * 分页大小
     */
    @ApiModelProperty(value = "分页大小")
    public Integer pageSize;

    /**
     * 接口地址
     */
    @ApiModelProperty(value = "接口地址",example = "http://localhost:9002/Test/SyncData")
    public String apiUrl;

    @JsonProperty
    @ApiModelProperty(value = "字段对应关系")
    public List<DtoSyncTableField> fields;
}
